<!-- BEGIN FORM-->
<form action="{{route('profile-password', ['id' => $User->id])}}" method="post" class="form-horizontal" id="form-password">
    <div class="form-body">
        <div class="alert alert-danger display-hide">
            <button class="close" data-close="alert"></button>
            <span>{{ trans('validation.custom.error-title') }}</span>
        </div>
        <div class="alert alert-success display-hide">
            <button class="close" data-close="alert"></button>
            <span>{{ trans('validation.custom.success-title') }}</span>
        </div>
        <div class="row">
            <div class="col-md-6">
                <div class="form-group">
                    <label class="control-label col-md-4" for="password">{{ trans('profile.current-password') }} <span class="required">*</span></label>
                    <div class="col-md-8">
                        <input type="password" class="form-control" name="password" id="password">
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-6">
                <div class="form-group">
                    <label class="control-label col-md-4" for="new_password">{{ trans('profile.new-password') }} <span class="required">*</span></label>
                    <div class="col-md-8">
                        <input type="password" class="form-control" name="new_password" id="new_password">
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-6">
                <div class="form-group">
                    <label class="control-label col-md-4" for="retype_password">{{ trans('user.retype-password') }} <span class="required">*</span></label>
                    <div class="col-md-8">
                        <input type="password" class="form-control" name="retype_password" id="retype_password">
                    </div>
                </div>
            </div>
        </div>
        <p class="help-block">
            <span class="label label-sm label-danger">
                {{ trans('system.note' )}}!
            </span>
            {{ trans('profile.notice-password' )}}
        </p>
    </div>
    <div class="form-actions fluid">
        <div class="row">
            <div class="col-md-6">
                <div class="col-md-offset-3 col-md-8">
                    <button type="submit" class="btn green {{ CNamHoa::getHideClass('profile-password') }}">{{ trans('system.button.submit') }}</button>
                </div>
            </div>
            <div class="col-md-6">
            </div>
        </div>
    </div>
</form>
<!-- END FORM-->

{{ HTML::script('assets/global/plugins/jquery-validation/js/additional-methods.min.js') }}

{{ HTML::script('assets/admin/pages/scripts/profile-password.js') }}

<script type="text/javascript">
    ProfilePassword.init();
</script>